#ifndef QSMOOTHDIALOG_H
#define QSMOOTHDIALOG_H

#include <QDialog>

namespace Ui {
class QSmoothDialog;
}

class QSmoothDialog : public QDialog
{
    Q_OBJECT

public:
    explicit QSmoothDialog(QString str,QWidget *parent = 0);
    ~QSmoothDialog();

    float getLambda(){return lambda;}
    float getMu(){return mu;}
    int getSteps(){return steps;}

    bool getTaubin(){return useTaubin;}
    void setTaubin(bool e){useTaubin = e;}

signals:
    void Smooth();

private slots:
    void on_btnApply_clicked();

    void on_btnCancel_clicked();

private:
    Ui::QSmoothDialog *ui;

    float lambda = 0.6307f;
    float mu = 0.673156f;
    int steps = 3;
    bool useTaubin = false;
};

#endif // QSMOOTHDIALOG_H
